{template 'common/header'}
<link rel="stylesheet" href="../addons/kuyuan_red/dist/web/common.css" />
<link rel="stylesheet" href="../addons/kuyuan_red/dist/web/member-list.css" />

<div id="louie" data-url="{php echo $this->createWebUrl('api')}">

    <table id="list" class="table table-hover">
        <tr><th>用户id</th><th>昵称</th><th>手机号</th><th>头像</th><th>红包数量</th><th>余额</th><th>注册时间</th></tr>
        <tr v-for="item in list">
            <td>{{item.uid}}</td>
            <td>{{item.nickname}}</td>
            <td>{{item.phone ? item.phone : "未认证"}}</td>
            <td><img class="header" :src="item.header" /></td>
            <td>{{item.red_number}}</td>
            <td>{{item.balance}}</td>
            <td>{{item.register_time}}</td>
        </tr>
        <tr class="empty" v-if="total <= 0"><td colspan="6">暂无数据</td></tr>
    </table>
    <page v-on:change-page="changePage" v-bind:total="total" v-bind:return-num="returnNum"></page>

</div>

<script src="../addons/kuyuan_red/dist/web/common.js"></script>
<script src="../addons/kuyuan_red/dist/web/member-list.js"></script>
{template 'common/footer'}